package com.woniuxy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="退款申请订单")
public class RefundOrder {
    @ApiModelProperty(value = "退款申请id")
    private int id;
    @ApiModelProperty(value = "退款编号")
    private String service_number;
    @ApiModelProperty(value = "申请时间")
    private Date application_time;
    @ApiModelProperty(value = "用户姓名")
    private String name;
    @ApiModelProperty(value = "退款类型")
    private String refund_type;
    @ApiModelProperty(value = "支付方式")
    private String pay_method;
    @ApiModelProperty(value = "退款状态")
    private String refund_status;
    @ApiModelProperty(value = "处理时间")
    private Date processing_time;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
    private String start;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
    private String end;
    @ApiModelProperty(value = "退款金额")
    private BigDecimal refund_amount;
}
